using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using BussinessLogicLayer;
using DataAccessLayer;

namespace QLThongTinGiaiDauBongDa.Presentation.frmTranDau
{
    public partial class frmChiaCapNhatTranDau : DevComponents.DotNetBar.Metro.MetroForm
    {
        public frmChiaCapNhatTranDau()
        {
            InitializeComponent();
        }

        private void frmThemCapNhatTranDau_Load(object sender, EventArgs e)
        {
            foreach (ListDoiBong db in DoiBongBLL.LayDoiBong().ToArray())
            {
                ListViewItem dba = new ListViewItem();
                lvwDoiBongA.Items.Add(dba);
                dba.SubItems.Add(db.MaDB);
                dba.SubItems.Add(db.TDB);
                ListViewItem dbb = new ListViewItem();
                lvwDoiBongB.Items.Add(dbb);
                dbb.SubItems.Add(db.MaDB);
                dbb.SubItems.Add(db.TDB);
            }
        }

        private void btnDong_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}